package com.naiterui.ehp.bp.bo.im;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author gaoliangliang
 * @date 2019-07-12 17:25
 * @since 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PatientMsgSendParamBO<T> {

    private Long doctorId;
    private Long patientId;
    /**
     * 就诊人id
     */
    private Long inquirerId;
    private String content;
    private Integer msgType;
    private String path;
    private Integer timeLength;
    private String extId;
    private Integer size;

    // 消息发送类型
    public static class MsgType {
        public static final int TEXT = 1;
        public static final int IMAGE = 2;
        public static final int VOICE = 3;
        public static final int VIDEO = 4;
        public static final int SHORTVIDEO = 5;
        public static final int RECOMMEND = 6;
        public static final int MEDICALRECORD = 7;
        public static final int PAIDCONSULT = 8;
        public static final int PATIENTDISEASE = 9;
        public static final int CLINICFIRSTCONSULT = 10;
        public static final int MINIPROGRAMPAGE = 13;
        /**
         * 服务评价
         */
        public static final int SERVICE_EVALUATION = 14;
        /**
         * 退款通知
         */
        public static final int REFUND_NOTICE = 15;
        /**
         * 发货
         */
        public static final int SHIP_NOTICE = 16;
        /**
         * 收货
         */
        public static final int RECEIPT_REMINDER = 17;
        /**
         * 群发消息
         */
        public static final int GROUP_MESSAGE = 18;
        /**
         * 续方通知
         */
        public static final int CONTINUED_PRESCRIPTION = 19;
    }
}
